// Copyright (C) 2010 Razvan Constantin <razvan.constantin@rconst.net>
//
// This file is part of FileBow.
//
// FileBow is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// FileBow is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with FileBow.  If not, see <http://www.gnu.org/licenses/>.
//
// Test cases for TopBuilder.

#include "logic/top_builder.h"

#include <gtest/gtest.h>
#include <memory>
#include <vector>

#include "logic/file_filter.h"
#include "logic/file-scorer.h"

using namespace std;

namespace filebow {
namespace testing {

class TopBuilderTest : public ::testing::Test {
 protected:
  virtual void SetUp() {
    mFilter.reset(new CompositeFilter);
    mScorer.reset(new CompositeScorer);
    mBuilder.reset(new TopBuilder(*mFilter, 10));
  }
  virtual void TearDown() {
    mBuilder.reset();
    mScorer.reset();
    mFilter.reset();
  }

  auto_ptr<CompositeFilter> mFilter;
  auto_ptr<CompositeScorer> mScorer;
  auto_ptr<TopBuilder> mBuilder;
};

TEST_F(TopBuilderTest, Test) {
}

} // namespace testing
} // namespace filebow
